How to print the line number using __LINE__ magic constant in PHP | PHP programs
We will print the line number using the __LINE__ magic constant
<?php
print ("Line : " . __LINE__ . "<br>");
print ("Line : " . __LINE__ . "<br>");
print ("Line : " . __LINE__ . "<br>");
print ("Line : " . __LINE__ . "<br>");
?>


